package com.csi.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.sql.Timestamp;

/**
 * 审核表
 */
@Data
@Schema(description = "审核记录的信息模型")
public class Audit {

    @Schema(description = "审核表的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private long id; // 审核表id

    @Schema(description = "详细的审核信息", requiredMode = Schema.RequiredMode.REQUIRED, example = "检查房间设施是否符合标准")
    private String auditDetail; // 审核表详情

    @Schema(description = "当前审核的状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "通过")
    private String auditStatus; // 审核状态

    @Schema(description = "执行审核的人员的ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private long auditId; // 审核人id

    @Schema(description = "审核的时间戳", requiredMode = Schema.RequiredMode.REQUIRED,
            example = "2024-12-03T11:21:00.000+00:00", type = "string", format = "date-time")
    private Timestamp auditTime; // 审核时间

    @Schema(description = "关联的房间类型的ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3")
    private long roomtypeId; // 房间类型id

    @Schema(description = "关联的酒店ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4")
    private long hotelId; // 酒店id

    @Schema(description = "关联的酒店加盟ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5")
    private long hotelFranchiseId; // 酒店加盟id
}